#include "TXLib.h"

void drawFigura(int x, int y, double sizeX, double sizeY);

int main()
{
    txCreateWindow(500, 500);
    drawFigura(50, 50, 1, 1);

    return 0;
}

void drawFigura(int x, int y, double sizeX, double sizeY)
 {
     txSetColor(TX_WHITE);
     txRectangle(x + (150 + 50)*sizeY, x + (150 + 50)*sizeY, x + (200 + 50)*sizeX, x + (250 + 50)*sizeY);
     txRectangle(x + (200 + 50)*sizeX, x + (200 + 50)*sizeY, x + (250 + 50)*sizeX, x + (250 + 50)*sizeY);
     txRectangle(x + (250 + 50)*sizeX, x + (150 + 50)*sizeY, x + (300 + 50)*sizeX, x + (250 + 50)*sizeY);
 }

